<!--
 * @Author: Dorange.Wang
 * @Date: 2021-07-09 13:36:20
 * @LastEditors: your name
 * @LastEditTime: 2021-07-16 14:03:01
 * @Description: file content
-->
<template>
  <van-tabs v-model="active">
    <van-tab
      v-for="tab in instance.children"
      :key="tab.value"
      :name="tab.value"
      :title="tab.label"
    >
      <slot />
    </van-tab>
  </van-tabs>
</template>

<script>
import { widgetMixin } from "../mixin";
export default {
  mixins: [widgetMixin],
  data() {
    return {
      active: "1abc",
    };
  },
};
</script>

<style></style>
